HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/compute/storage_pools/update.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: "Update a storage pool."
    description: "Update a storage pool."
    examples: |
      To update the size of a storage pool named 'my-storage-pool', run th following command:

        $ {command} my-storage-pool --provisioned-capacity=20TB

  request:
    ALPHA:
      api_version: alpha
    BETA:
      api_version: beta
    GA:
      api_version: v1

    collection: compute.storagePools
    method: update

  async:
    collection: compute.zoneOperations
    response_name_field: selfLink
    state:
      field: status
      success_values: ['DONE']

  arguments:
    resource:
      help_text: Storage pool you want to update.
      spec: !REF googlecloudsdk.command_lib.compute.resources:storage_pool

    params:
    - arg_name: provisioned-capacity
      api_field: storagePoolResource.poolProvisionedCapacityGb
      help_text: |
        Provisioned capacity of the storage pool.
      type: 'googlecloudsdk.calliope.arg_parsers:BinarySize:'
      # TODO(b/283676448), this processor can be effectively eliminated.
      processor: googlecloudsdk.api_lib.compute.storage_pools.processors:convert_to_gb

    - arg_name: description
      api_field: storagePoolResource.description
      help_text: |
        Description of the storage pool.
      type: str

    - arg_name: provisioned-iops
      api_field: storagePoolResource.poolProvisionedIops
      help_text: |
        IOPS to provision the pool with.
      type: int

    - arg_name: provisioned-throughput
      api_field: storagePoolResource.poolProvisionedThroughput
      help_text: |
        Throughput in MB/s provision the pool with.
      type: int